package com.sven.hello.integration;

import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.integration.annotation.ServiceActivator;

// @EnableBinding(value = {Sink.class})
public class SinkReceiver {

    //将输入通道绑定到名为input的主题中
   /* @ServiceActivator(inputChannel = Sink.INPUT)
    public void receive(Object payload) {
        System.out.println("receive : " + payload);
    }*/

}
